#!/usr/bin/python
# -*- coding: utf-8 -*-
# @name             : 定位元素
# @author           : OneYoung
# @create           : {create_date}
# @version          : v1.0
# @desc             : 页面定位元素封装类,通过By方法获取定位信息

from selenium.webdriver.common.by import By


class PageLocators:
    """页面定位元素集"""
    username = (By.ID, 'name')
    password = (By.CLASS_NAME, 'password')
    login_btn = (By.CSS_SELECTOR, 'button[name="登录"]')
